package com.hzzc.api;

import java.util.List;

public class SSOResourceTreeView {

    private long id;

    /**
     * 名字
     */

    private String name;

    /**
     * 资源定位符
     */
    private String locator;

    private String code;

    /**
     * 描述
     */
    private String msg;

    /**
     * 是否是操作元素
     */
    private boolean actionFlag;

    /**
     * 应用Id
     */
    private long applicationId;

    private long parentId;

    /**
     * 子元素
     */
    private List<SSOResourceTreeView> ssoResourceTreeViews;

    public long getParentId() {
        return parentId;
    }

    public SSOResourceTreeView setParentId(long parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getCode() {
        return code;
    }

    public SSOResourceTreeView setCode(String code) {
        this.code = code;
        return this;
    }

    public boolean isActionFlag() {
        return actionFlag;
    }

    public long getApplicationId() {
        return applicationId;
    }

    public SSOResourceTreeView setApplicationId(long applicationId) {
        this.applicationId = applicationId;
        return this;
    }

    public boolean getActionFlag() {
        return actionFlag;
    }

    public SSOResourceTreeView setActionFlag(boolean actionFlag) {
        this.actionFlag = actionFlag;
        return this;
    }

    public long getId() {
        return id;
    }

    public SSOResourceTreeView setId(long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public SSOResourceTreeView setName(String name) {
        this.name = name;
        return this;
    }

    public String getLocator() {
        return locator;
    }

    public SSOResourceTreeView setLocator(String locator) {
        this.locator = locator;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public SSOResourceTreeView setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public List<SSOResourceTreeView> getSsoResourceTreeViews() {
        return ssoResourceTreeViews;
    }

    public SSOResourceTreeView setSsoResourceTreeViews(List<SSOResourceTreeView> ssoResourceTreeViews) {
        this.ssoResourceTreeViews = ssoResourceTreeViews;
        return this;
    }
}
